HCaptcha\Main B

Total Complexity 77
Dependencies 123
Dependents 6
Total lines 1,441
Lines of code 999
Logical lines of code 176
Comment lines 240
Methods 25
Properties 8

Methods 25

Method Rating Maintainability Complexity Lines of code
load_modules()
D
13
9 581
print_footer_scripts()
S
47 6 36
plugin_or_theme_active()
S
56 7 20
get_api_src()
S
50 6 28
csp_headers()
S
50 6 27
print_inline_styles()
S
43 2 86
activate_hcaptcha()
S
62 6 10
is_edit_page()
S
51 4 28
init_hooks()
S
47 2 36
whitelist_ip()
S
52 2 31
is_plugin_active()
S
64 4 10
init()
S
63 3 11
parse_csp()
S
62 2 11
login_head()
S
61 1 22
get_api_url()
S
69 2 6
get_verify_url()
S
69 2 6
get_check_site_config_url()
S
69 2 6
merge_csp()
S
63 2 10
declare_wc_compatibility()
S
72 2 5
prefetch_hcaptcha_dns()
S
69 2 7
force_https()
S
71 1 5
settings()
S
82 1 3
load()
S
80 1 3
get()
S
79 1 3
load_textdomain()
S
68 1 8